chat: update setup_assistant to use gpt-4o #1411
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates the setup_assistant.py script which is used to create assistants on the OpenAI server.
The changes include:
This has been tested
stant_setup (chat-assistant-setup-4o)$ python setup_assistant.py --upgrade
Starting assistant setup
setup_assistant: parsed function file: get_vehicle_type.json
setup_assistant: parsed function file: get_parameter.json
setup_assistant: parsed function file: get_wakeup_timers.json
setup_assistant: parsed function file: get_vehicle_location_and_yaw.json
setup_assistant: parsed function file: send_mavlink_set_position_target_global_int.json
setup_assistant: parsed function file: get_vehicle_state.json
setup_assistant: parsed function file: get_location_plus_offset.json
setup_assistant: parsed function file: send_mavlink_command_int.json
setup_assistant: parsed function file: get_location_plus_dist_at_bearing.json
setup_assistant: parsed function file: get_parameter_description.json
setup_assistant: parsed function file: delete_wakeup_timers.json
setup_assistant: parsed function file: set_parameter.json
setup_assistant: parsed function file: get_mavlink_message.json
setup_assistant: parsed function file: get_current_datetime.json
setup_assistant: parsed function file: get_mode_mapping.json
setup_assistant: parsed function file: get_all_parameters.json
setup_assistant: parsed function file: set_wakeup_timer.json
setup_assistant: parsed function file: get_available_mavlink_messages.json
setup_assistant: downloaded file: minimal.xml
setup_assistant: downloaded file: common.xml
setup_assistant: downloaded file: ardupilotmega.xml
setup_assistant: using existing assistant: ArduPilot Vehicle Control via MAVLink id:asst_hDdE8oKgzdoWJMpfc4dQVvp1
setup_assistant: deleted existing file: rover_modes.txt
setup_assistant: uploaded: rover_modes.txt
setup_assistant: deleted existing file: plane_flightmodes.txt
setup_assistant: uploaded: plane_flightmodes.txt
setup_assistant: deleted existing file: copter_flightmodes.txt
setup_assistant: uploaded: copter_flightmodes.txt
setup_assistant: deleted existing file: assistant_instructions.txt
setup_assistant: uploaded: assistant_instructions.txt
setup_assistant: deleted existing file: sub_modes.txt
setup_assistant: uploaded: sub_modes.txt
setup_assistant: deleted existing file: minimal.xml.json
setup_assistant: uploaded: minimal.xml.json
setup_assistant: deleted existing file: common.xml.json
setup_assistant: uploaded: common.xml.json
setup_assistant: deleted existing file: ardupilotmega.xml.json
setup_assistant: uploaded: ardupilotmega.xml.json
deleting empty vector store id:vs_Cp3XgCX4e2uHvn1VPggcrHtX name:ArduPilot Vehicle Control via MAVLink vector_store
setup_assistant: created vector store id: vs_kBrThD2IjlQeDu0aZvccbpG1 name:ArduPilot Vehicle Control via MAVLink vector_store files:8
setup_assistant: updating assistant vector store to id:vs_kBrThD2IjlQeDu0aZvccbpG1 name:ArduPilot Vehicle Control via MAVLink vector_store
setup_assistant: deleted local file: minimal.xml
setup_assistant: deleted local file: common.xml
setup_assistant: deleted local file: ardupilotmega.xml
setup_assistant: deleted local file: minimal.xml.json
setup_assistant: deleted local file: common.xml.json
setup_assistant: deleted local file: ardupilotmega.xml.json
Assistant setup complete